package cn.lijiajia3515.cairo.auth.config;

import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.jackson2.CoreJackson2Module;
import org.springframework.security.web.jackson2.WebJackson2Module;
import org.springframework.security.web.jackson2.WebServletJackson2Module;
import org.springframework.security.web.server.jackson2.WebServerJackson2Module;

@Configuration(proxyBeanMethods = false)
public class JacksonConfig {

	// @Bean
	// CoreJackson2Module coreJackson2Module(){
	// 	return new CoreJackson2Module();
	// }

	// @Bean
	// WebServletJackson2Module javaTimeModule(){
	// 	return new WebServletJackson2Module();
	// }
	//
	// @Bean
	// WebJackson2Module webJackson2Module(){
	// 	return new WebJackson2Module();
	// }
	//
	// @Bean
	// WebServerJackson2Module webServerJackson2Module(){
	// 	return new WebServerJackson2Module();
	// }
}
